package cn.wolfocde.wolf2w.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

@Setter
@Getter
public abstract class BaseDomain  implements Serializable{

    @Id  //要和mongoDb的表的主键id类型一致字符串类型
    protected  String id;

}
